// 引入useRouters 
import { useRoutes } from 'react-router-dom';
// 引入路由表
import element from './element';

// 路由视图
function RouterView() {
    let elements = useRoutes(element)
    return (
        <div>{elements}</div>
    )
}

export default RouterView;